package com.kcht.np.vo.user;

import com.kcht.np.vo.ButtonVo;
import com.kcht.np.vo.MenuVo;
import com.kcht.np.vo.menu.RouterVo;
import lombok.*;

import java.util.List;
import java.util.Set;

/**
  * @Description: 登录成功后，用户详细 Vo 模型
  * @Package:     com.kcht.np.mp.vo
  * @Author:      liuqi
  * @CreateDate:  2020/4/1 0:10
 */

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserVo implements java.io.Serializable {

    private Long uid;

    /**
     * @Description:   用户名
     * @CreateDate:    2020/4/1 0:14
     */
    private String username;

    /**
     * @Description:   邮箱
     * @CreateDate:    2020/4/1 0:14
     */
    private String email;

    /**
     * @Description:   昵称
     * @CreateDate:    2020/4/1 0:14
     */
    private String nickname;

    /**
     * @Description:   性别
     * @CreateDate:    2020/4/1 0:14
     */
    private Integer gender;

    /**
     * @Description:   部门名称
     * @CreateDate:    2020/4/1 0:14
     */
    private String departmentName;

    /**
     * @Description:   角色列表
     * @CreateDate:    2020/4/1 0:13
     */
    private Set<String> roles;

    /**
     * @Description:   按钮
     * @CreateDate:    2020/4/1 0:13
     */
    private List<ButtonVo> buttons;

    /**
     * 修改为路由信息
     */
    private List<RouterVo> menus;

}
